package com.dgut.adminmanager.service;


import com.dgut.adminmanager.entity.Administrator;

import java.util.List;
import java.util.Optional;

public interface AdminService {
    public Optional<Administrator> findAdministratorById(Integer id);
    public List<Administrator> findAllAdministrator();
    public Administrator findAdministratorByAccount(String account);
    public void deleteAdministratorById(Integer id);
    public Administrator updateAdministrator(Administrator administrator);
    public Administrator addAdministrator(Administrator administrator);

}
